package com.yuanfengPlus.purchase.service;




import com.yuanfengPlus.purchase.entity.PurchaseReturn;
import com.yuanfengPlus.utils.Result;

import java.util.List;
import java.util.Map;

public interface IPurchaseReturnService {
    Result<List<PurchaseReturn>> queryPurchaseReturn(Map<String, Object> params);
    //  新增采购订单
    Result<String> addPurchaseReturn(PurchaseReturn PurchaseReturn);
    //  查看单条采购订单
    Result<PurchaseReturn> queryPurchaseReturnById(String purchase_return_id);
    //  修改单条采购订单
    Result<String> updatePurchaseReturnById(PurchaseReturn PurchaseReturn);
    //  删除单条采购订单
    Result<String> deletePurchaseReturn(String purchase_return_id);
    //  单条审核通过采购订单，接收到的是一个包含出库单ID的数组
    Result<String> updatePurchaseReturnAgree(String purchase_return_id);
    //  单条审核拒绝采购订单
    Result<String> updatePurchaseReturnRefuse(String purchase_return_id);
}
